<?php
require_once 'func.php';
try
{
	unwrap_sign($_GET);
	echo "<script>parent.wdUploadComplete(".json_encode($_GET).");</script>";
}
catch(Exception $e)
{
	echo "<script>alert('[Error] {$e->getMessage()}')</script>";
}